package com.siyu.preplan.service;

import com.siyu.common.core.domain.AjaxResult;
import com.siyu.preplan.dto.PlanListDto;
import com.siyu.preplan.planpdocument.domain.PlanPDocument;
import org.springframework.core.io.Resource;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.util.ArrayList;
import java.util.HashMap;

public interface PlanPService {
    Object getPlanList(PlanListDto planListDto);

    ResponseEntity<AjaxResult> uploadPlan(MultipartFile file,String year,String area,String rscd);

    ResponseEntity<Resource> downloadFile(String id) throws MalformedURLException, FileNotFoundException, UnsupportedEncodingException;

    AjaxResult deletefile(String id);
}
